package com.bojiu.lawsearch.lawsearch.mapper;

import com.bojiu.lawsearch.lawsearch.model.Rule;
import com.bojiu.lawsearch.lawsearch.model.UserCollect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: afdiao
 * @Date：2020/3/21 14:26
 * @Description:
 */
@Repository
@Mapper
public interface UserCollectMapper extends ObjMapper<UserCollect> {
    List<Rule> getMyCollect(@Param("userId") int userId, @Param("text") String text);

}
